package com.haikesi.api.mode.dao;

import com.haikesi.api.mode.domain.po.ModePO;
import com.haikesi.api.mode.domain.vo.ModeSearchVO;
import com.haikesi.api.mode.domain.vo.ModeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface ModeDao extends Mapper<ModePO> {

    List<ModeVO> getList(ModeSearchVO searchVO);

    List<ModeVO> listByAccount(@Param("account") String modeId);
}